Repository navigation
Conversation
Contributor
|
Someone is attempting to deploy a commit to the Cap Software Inc Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
@greptile-apps review |
Contributor
Author
|
@greptile-apps review |
Contributor
Author
|
@greptile-apps review |
Contributor
Author
|
@greptile-apps review |
Contributor
Author
|
@greptile-apps review |
3 similar comments
Contributor
Author
|
@greptile-apps review |
Contributor
Author
|
@greptile-apps review |
Contributor
Author
|
@greptile-apps review |
AatmanAJ
force-pushed
the
feat/silence-camera
branch
from
November 1, 2026 13:53
d095d05 to
be8bb29
Compare
Contributor
Author
|
@greptile-apps review |
AatmanAJ
force-pushed
the
feat/silence-camera
branch
from
November 4, 2026 18:07
be8bb29 to
aa0549d
Compare
Contributor
Author
|
@greptile-apps review |
Detect speech on each clip's mic and generate Hide Camera scene segments for the long silences. The segments are ordinary scenes, so they show on the Scene track, follow cuts, and export without any renderer changes.
Analyze speech when the delay moves on a reopened project, let clearing the Scene track cancel a pending result, and count speech from both clips during a transition.
Hold the delay until speech is ready so undo restores both together, and stop treating an all-unreadable analysis as a usable cache.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AatmanAJ
force-pushed
the
feat/silence-camera
branch
from
November 4, 2026 23:21
aa0549d to
39166e5
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds "Hide When Silent" to the Camera tab: the camera fades away when you stop talking and comes back just before you speak again.
How it works
cap_audio::detect_speech_in_fileruns RNNoise's voice probability over each clip's mic, with a -55 dBFS floor. It runs in the background once per opened project, and a slider drag reuses the result.HideCamerascene segments taggedfromSilence. They are normal scenes, so they appear on the Scene track, can be trimmed or deleted, and follow ripple cuts. The renderer and export need no changes.TimelineConfiguration::clip_source_windowsmaps speech through cuts, clip speed, transitions, fullscreen text holds, and mic offsets including timing repairs.The toggle only shows for recordings with a microphone. If nothing qualifies, it shows a notice and stays off. Removing the Scene track also turns the setting off, and presets leave it alone because it belongs to the timeline.
Why segments, not a render-time rule
Cap's other automation, like auto zoom and auto 3D shots, writes editable segments. Doing the same here means no per-frame merge in the renderer, no analysis step before export, and every hidden range is visible and fixable on the timeline. The trade-off is that adding or replacing footage later doesn't regenerate the segments. Toggling off and on, or moving the slider, refreshes them.
Testing
cargo test -p cap-audio -p cap-project -p cap-rendering --libfiltered to silence and speech: all pass, covering windowing, cut and speed mapping, offsets, manual scene margins, fade timing throughInterpolatedScene, regenerate behavior, and unreadable mics.cargo test --bin cap-gpui editor_passes inapps/desktop-gpui(482 tests), including the i18n surface tests for the new strings.cargo check --workspace --all-targetspasses.Ran in the real app on a project with a camera and an 8-second silence: the toggle generated a Hide Camera scene that lines up with the gap, and after reopening, moving the delay rebuilt it and saved both together.


Confidence Score: 5/5
The PR appears safe to merge; no new actionable issue was established.Summary
Adds “Hide When Silent” to the Camera tab. The editor analyzes microphone speech and creates editable
HideCamerascenes.Reviews (10) · Last reviewed commit: "test(editor): mark the drag-transition s..." · Reviewed by Greptile